package com.ikas.ai.server.module.alarm.model.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class AlarmStateDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    AlarmMachineStateDTO u01State;
    AlarmMachineStateDTO u02State;
    AlarmMachineStateDTO u03State;
    AlarmMachineStateDTO u04State;

    public AlarmMachineStateDTO getU01State() {
        if (this.u01State == null) {
            this.u01State = new AlarmMachineStateDTO();
        }
        return this.u01State;
    }

    public AlarmMachineStateDTO getU02State() {
        if (this.u02State == null) {
            this.u02State = new AlarmMachineStateDTO();
        }
        return this.u02State;
    }

    public AlarmMachineStateDTO getU03State() {
        if (this.u03State == null) {
            this.u03State = new AlarmMachineStateDTO();
        }
        return this.u03State;
    }

    public AlarmMachineStateDTO getU04State() {
        if (u04State == null) {
            this.u04State = new AlarmMachineStateDTO();
        }
        return u04State;
    }
}
